﻿using Coolzon.Common;
using Coolzon.Web.Models;
using Coolzon.WebServer.Code.Common;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Net.Http.Headers;
using System.Web;
using System.Web.Http;
using RT = Coolzon.Metadata.Runtime;

namespace Coolzon.WebServer.Code.ApiControllers
{
    public class AccountController : ApiController
    {
        [HttpPost]
        public ServiceResult<LoginResult> Login(LoginParam param)
        {
            LoginResult result = new LoginResult();
            result.UserIdentity = param.UserAccount;
            return new ServiceResult<LoginResult>(result);
        }
    }
}